<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item" pane="">
        <label class="layui-form-label">
            登录验证码
        </label>
        <div class="layui-input-block">
            {if $configs['login_captcha']}
            <input checked="" lay-filter="login_captcha" lay-skin="switch" lay-text="开启|关闭" name="login_captcha" type="checkbox" value="1"/>
            {else}
            <input lay-filter="login_captcha" lay-skin="switch" lay-text="开启|关闭" name="login_captcha" type="checkbox" value="0"/>
            {/if}
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="configform" lay-submit="">
                保存
            </button>
        </div>
    </div>
</form>
{load href="__module__/admin/config/index.js" /}
